It is very strange that R appears to ignore the last line of my .Rprofile
.
For example, in .Rprofile
...
test<-function()1 # without line ending
And thus test
is never loaded although the rest is loaded successfully. If I load it manually, source(".Rprofile")
, test
loads fine.
Is it the desired behaviour?
Under R studio with R 3.0 + in Linux
Can any one reproduce this?