The guide of R Code style recommends to write script with a maximal
length of 80 characters?
how to break a line longer than 80 characters like
filename_name <- ("/blaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/"/
blaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/data.csv")
I did not find any answer while googling.
Thank you!
a <- "reaaaaaaaaaaaaaaaallllllllyyyyy looooo
ooooooooong chaaaaaaaaarrr"
Although the indentation is just personal preference.
--------------------------------------
Jonathan P. Daily
Technician - USGS Leetown Science Center
11649 Leetown Road
Kearneysville WV, 25430
(304) 724-4480
"Is the room still a room when its empty? Does the room,
the thing itself have purpose? Or do we, what's the word... imbue it."
- Jubal Early, Firefly
On 2011-01-10 02:36, Tutu2008 wrote:> The guide of R Code style recommends to write script with a maximal > length of 80 characters? > > how to break a line longer than 80 characters like > filename_name<- ("/blaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/"/ > blaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/data.csv") >I would use file.path() on the pieces that go into your filename. Peter Ehlers> I did not find any answer while googling. > > > Thank you! >