I suggest you ask your question on the R help list (https://stat.ethz.ch/mailman/listinfo/r-help) - it will be seen by a lot of R users there and hopefully they might be able to help.
Attached you will find an example r-script, that seems to work. Note that NetCDFs are not the easiest file formats to work with... Hope that you will find this example helpful.