On Sat, Feb 7, 2009 at 10:20 AM, oryie <43248523 at qq.com> wrote: > I want to use R to calculate the variable x which is in some eqation, give > an example: > > 3*x-log(x)+1=0, > > how to solve equation to get the exact x in R? You could use uniroot(), but your equation has no real solution. Paul