The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Neurdon (1) [Avatar] Offline
#1
Hi Robert

I tried to import a data file which contains a) completely blank rows and b) rows with only 1 value instead of 42 (... and I would like to ignore this line as well).

How can I handle this problem? I realized that the read.table function has the option blank.lines.skip. However, how can I handle problem b)?!

I work with RStudio and already realized, that some details seem to be different than in the "standard" R software package. For example RStudio doesn't seem to recognize the edit() and fix() function. I copied the whole library from R to RStudio, so I don't think that I miss a necessary library. Do you know how I can handle this issue?

Thanks a lot for your help in advance!

Best regards,

Rafi

Message was edited by:
Neurdon